package org.nepu.scr.indexrate.raterisk.prerisk;

import org.lboot.jpa.service.UniService;
import org.nepu.scr.indexrate.raterisk.prerisk.params.RiskData;

import java.util.List;

public interface PreRiskService extends UniService<Risk, String> {
    List<Risk> getByRiskName(String evaluationId);

    RiskData saveRiskData(String schemeId, RiskData data);

    RiskData readRiskData(String evaluationId);

    boolean deleteRiskData(String evaluationId);
}
